package com.example.javacrawl;

import com.example.javacrawl.worker.DynamicGetDataWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.example.javacrawl.mapper")
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class JavacrawlApplication {


    public static void main(String[] args) {
        SpringApplication.run(JavacrawlApplication.class, args);

    }

}
